<include file="Public/head" title="我的车况"/>
<include file="Public/back_head"/>
<div class="main">
    <div class="content_show">
    <foreach name="list" item="val">
        <div class="module_order">
            <div class="title">
                车辆状态
                <span><if condition="($val.repair_status eq 1) or ($val.repair_status eq 4)">正常使用<elseif condition="$val.repair_status eq 2"/>维修中<elseif condition="$val.repair_status eq 3"/>报修失败</if></span>
            </div>
            <div class="content">
                <div class="warp clear">
                    <div class="left" style="background-image: url({:$val['goods_pic']})"></div>
                    <div class="right">
                        <div class="r_h1">{$val.goods_name}</div>
                        <div class="h3">{$val.goods_profile}</div>
                        <div class="money_black"><i class="iconfont icon-jiage-copy"></i><span>{$val.goods_price}</span></div>
                        <div class="color">颜色:{$val.goods_spec}</div>
                    </div>
                </div>
            </div>
            <div class="bottom">合计&nbsp;<i class="iconfont icon-jiage-copy"></i><span>{$val.order_price}</span>
                <if condition="$val.repair_status eq 2">
                <div class="btn_false"><a href="{:U('Bike/repair_detail',array('id'=>$val['id']))}">报修详情</a></div><div class="btn_false"><a href="{:U('Bike/repair_record',array('id'=>$val['id']))}">维修记录</a></div>
                <else/>
                <div class="btn_false"><a href="{:U('Bike/repair',array('id'=>$val['id']))}">我要报修</a></div><div class="btn_false"><a href="{:U('Bike/repair_record',array('id'=>$val['id']))}">维修记录</a></div></if>
            </div>
        </div>
    </foreach>
    </div>
</div>
</body>
</html>